package define

import "time"

// MENU 哈希表
const (
	// RedisRoleAdminPrefix 判断角色是否是超管的前缀
	RedisRoleAdminPrefix = "ADMIN-"
	// RedisMenuPrefix 菜单
	RedisMenuPrefix = "MENU"
	// RedisFuncPrefix 功能的前缀
	RedisFuncPrefix = "FUNC-"
)

const (
	RedisExpireDurationYear  = time.Hour * 24 * 365
	RedisExpireDurationMonth = time.Hour * 24 * 30
	RedisExpireDurationWeek  = time.Hour * 24 * 7
	RedisExpireDurationDay   = time.Hour * 24 * 1
	RedisExpireDurationHour  = time.Hour * 1 * 1
)
